package cn.wolfcode.p2p.base.service;

import cn.wolfcode.p2p.base.domain.LoginInfo;

import java.util.List;

public interface ILofinInfoService {
    void register(String username,String verifycode,String password,String confirmPwd);
    int selectCountByUsername(String username);

    LoginInfo get(Long id);

    LoginInfo userLogin(String username, String password, int userType);

    /**
     * 初始化管理员
     */
    void initAdmin();

    List<LoginInfo> selectIsSuditorList();
}
